package cn.example.office_auto_sys.common.rseult;
/**
 * @Account :BusinessCode.java
 * @Author :T016729
 * @Date :2022/6/22
 * @Description :公共返回业务码
 */
public enum BusinessCode {
    SUCCESS("200","操作成功"),
    FAILED("500","操作失败"),
    FORBIDDEN("401","没有相关权限"),
    PARAM_VER_FAILED("402","参数校验失败"),
    ;

    private String code;
    private String massage;

    BusinessCode(String code, String massage) {
        this.code = code;
        this.massage = massage;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }
}
